package com.aerfafish.spider.callback;

import com.aerfafish.spider.neo4j.dao.*;

public interface SpiderCallback {

    void onSaveFund(Fund fund);

    void onSaveCompany(Company company);

    void onSaveShare(Share share);

    void onSavePerson(Person person);

    void onSaveFundShareRelation(FundHoldShare fundHoldShare, String fundCode, String shareCode);

    void onSaveFundDateRelation(FundValue fundValue, String fundCode, String date);

    void onSavePersonFundRelation(String personCode, String fundCode);

    void onSavePersonCompanyRelation(String personCode, String companyCode);

    void onSaveCompanyShareRelation(CompanyHoldShare companyHoldShare, String companyCode, String shareCode);

    void onSaveCompanyFundRelation(String companyCode, String fundCode);

    void onSaveFundEstablishDate(String fundCode, String date);

}
